package com.haoze.nurseapp.dao;

import com.haoze.common.mapper.MyMapper;
import com.haoze.nurseapp.model.NurseTeamDutyEntity;
import feign.Param;

import java.util.List;

public interface NurseTeamDutyMapper extends MyMapper<NurseTeamDutyEntity> {
    List<NurseTeamDutyEntity> selectDutyByNurseId(@Param("nurseId") String nurseId, @Param("wardDeptId") String wardDeptId);

    void deleteByWardAndBedNo(String bedNo, String wardDeptId);
}
